package com.itheima.day01.Demo04;

public class PhoneDemo {
    public static void main(String[] args) {
        Phone p=new Phone();
        p.call("小明");
        System.out.println("-----------------");
        NewPhone np=new NewPhone();
        np.call("小黄");
    }
}
